home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / answers / comp / sgi / faq / admin < prev    next >
Encoding:
Internet Message Format  |  1994-04-07  |  44.2 KB

  1. Path: bloom-beacon.mit.edu!hookup!swrinde!cs.utexas.edu!news.tamu.edu!sgi-faq
  2. From: sgi-faq@viz.tamu.edu (The SGI FAQ group)
  3. Newsgroups: comp.sys.sgi.misc,comp.answers,news.answers
  4. Subject: SGI admin Frequently Asked Questions (FAQ)
  5. Supersedes: <admin_764182743@viz.tamu.edu>
  6. Followup-To: comp.sys.sgi.misc
  7. Date: 6 Apr 1994 20:11:18 GMT
  8. Organization: Visualization Lab, Texas A&M University
  9. Lines: 1120
  10. Approved: news-answers-request@mit.edu
  11. Expires: 4 May 1994 20:11:14 GMT
  12. Message-ID: <admin_765663074@viz.tamu.edu>
  13. Reply-To: sgi-faq@viz.tamu.edu (The SGI FAQ group)
  14. NNTP-Posting-Host: viz.tamu.edu
  15. Originator: sgi-faq@viz
  16. Xref: bloom-beacon.mit.edu comp.sys.sgi.misc:9363 comp.answers:4790 news.answers:17740
  17.  
  18. Archive-name: sgi/faq/admin
  19. Last-modified: Wed Apr  6 15:10:30 CDT 1994
  20.  
  21.     SGI admin Frequently Asked Questions (FAQ)
  22.  
  23. This is one of the Silicon Graphics FAQ series, which consists of:
  24.  
  25.     SGI admin FAQ - IRIX system administration
  26.     SGI apps FAQ - Applications & compilers
  27.     SGI graphics FAQ - Graphics and user environment customization
  28.     SGI hardware FAQ - Hardware
  29.     SGI misc FAQ - Introduction & miscellaneous information
  30.     SGI performer FAQ - IRIS Performer
  31.     SGI pointer FAQ - Pointer to the other FAQs
  32.  
  33. Read the misc FAQ for information about the FAQs themselves.  Each FAQ
  34. is posted to comp.sys.sgi.misc and to the news.answers and comp.answers
  35. newsgroups (whose purpose is to store FAQs) twice per month.  If you
  36. can't find one of the FAQs with your news program, you can get it by
  37. anonymous FTP from one of these sites:
  38.  
  39.     rtfm.mit.edu:/pub/usenet/comp.sys.sgi.misc/
  40.     rtfm.mit.edu:/pub/usenet/news.answers/sgi/faq/
  41.     rtfm.mit.edu:/pub/usenet/comp.answers/sgi/faq/
  42.     viz.tamu.edu:/pub/sgi/faq/
  43.  
  44. Note that rtfm.mit.edu is home to many other FAQs and informational
  45. documents, and is a good place to look if you can't find an answer
  46. here. If you can't use FTP, send mail to mail-server@rtfm.mit.edu with
  47. the command 'send usenet/news.answers/ftp-list/faq' on a line by itself
  48. in the text, and it will send you a document describing how to FTP by
  49. mail. You can also read a hypertext version of the FAQs at
  50.  
  51.     http://www.cis.ohio-state.edu/hypertext/faq/usenet/sgi/top.html
  52.  
  53. The SGI FAQs are freely distributable and wide circulation is encouraged.
  54. The contents are accurate as far as we know, but the usual disclaimers
  55. apply. Please send additions and changes to sgi-faq@viz.tamu.edu.
  56.  
  57. Topics covered in this FAQ:
  58. ---------------------------
  59.    -1- How can I determine which release of IRIX I'm running?
  60.    -2- How can I determine my SGI's Ethernet (and/or FDDI) address?
  61.    -3- How can I administer my Iris without a graphics terminal?
  62.    -4- Is it possible to use the visual admin tools on a system with
  63.        graphics to administer a system without graphics?
  64.    -5- How can I boot directly into single-user mode?
  65.    -6- How can I boot from a non-default disk?
  66.    -7- How can I boot my machine using a server on the other side of a
  67.        router?
  68.    -8- Is it possible to remotely install IRIX over a network?
  69.    -9- Which IRIX CD is the program 'foo' on?
  70.   -10- Why doesn't 'inst' work?
  71.   -11- How can I install IRIX onto a second disk which I can then move
  72.        to another machine?
  73.   -12- How can I copy my system disk onto a second disk which I can then
  74.        move to another machine?
  75.   -13- I think I've found a security hole in IRIX; whom do I notify at
  76.        SGI?
  77. ! -14- What security problems does IRIX have?
  78.   -15- How can I log more information about logins?
  79.   -16- I've just edited inetd.conf, and nothing changed. Why?
  80.   -17- How do I make an anonymous or restricted FTP account?
  81.   -18- How do I set the number of processes allowed on my machine?
  82.   -19- I want to install a termcap for 'iris-ansi-net' on my non-SGI
  83.        system, but I can't find a termcap file on the SGI.  Where can I
  84.        get one?
  85.   -20- My SGI crashed and generated a file, /usr/adm/crash/vmcore.1. How
  86.        can I examine this file to see what crashed my system?
  87.   -21- How can I tell what hostname to use in /etc/exports?
  88.   -22- Why can't I export an NFS-mounted filesystem?
  89.   -23- Why can't Ultrix automount SGI filesystems?
  90. + -24- Why does 'tar' work strangely on a filesystem mounted from an
  91.        SGI?
  92.   -25- Is 'pcnfsd' available for the SGI?
  93.   -26- Can I export a CD-ROM from my SGI to a non-SGI?
  94.   -27- Why can't I export an ISO 9660 CD-ROM using NFS?
  95.   -28- How can I read an IRIX (EFS) CD-ROM on a machine which doesn't
  96.        use EFS?
  97.   -29- Why is my network license daemon ('netlsd') exiting?
  98.   -30- Why isn't /usr/adm/SYSLOG being updated?
  99.   -31- Why is 'rusers' showing users who aren't really logged in?
  100.   -32- How do I make a bootable tape from an IRIX 4.0.X CD?
  101. ! -33- Why can't I boot one of the stand-alone programs on a tape or CD?
  102.   -34- Why is /debug or /proc full of huge files?
  103.   -35- Why do some programs parse /etc/fstab incorrectly?
  104.   -36- My Indigo's Ethernet performance is dog-slow. What gives?
  105.   -37- My Indigo running 4.0.5IOP is getting SIGSEGVs and crashing. What
  106.        gives?
  107.   -38- Why is my Indigo2 panicking?
  108.   -39- What's this 'iotim' error in my syslog?
  109.   -40- Why can't 'lp' read my file?
  110.   -41- How can I use 'lpr' to print to my local printer?
  111.   -42- How can I use 'lp' to print to an 'lpr'-controlled printer?
  112.   -43- How can I tell 'lp' to turn banner printing or page reversal off
  113.        or on?
  114.   -44- Why can't I 'rdist' files between Suns and SGIs?
  115.   -45- How do I add a static route?
  116.   -46- How can I make the 'slip' command advertise the Ethernet address
  117.        of the SLIP client?
  118.   -47- How can I set up 'sendmail' to pass 8-bit characters?
  119.   -48- Why are my mailbox files changing ownership?
  120.   -49- Why isn't a valid user getting their mail?
  121.   -50- How can SGIs and Suns share a mail spool?
  122.   -51- What's an "unknown mailer error"?
  123.   -52- What's "mailbox: Error 0"?
  124.   -53- Can I change my full name or login shell without being superuser?
  125.   -54- How do I extend an existing filesystem onto a new disk?
  126.   -55- How can I measure my network's reliability?
  127.   -56- How do I know if I need more memory and/or swap space?
  128.   -57- How much swap space should I have per megabyte of memory?
  129.   -58- How can I increase my swap space?
  130.  
  131. ----------------------------------------------------------------------
  132.  
  133. Subject:    -1- How can I determine which release of IRIX I'm running?
  134. Date: 07 Feb 94 00:00:01 CST
  135.  
  136. 'uname -a' gives you all the kernel info; see the uname(1) manpage for
  137. other options.
  138.  
  139. Of more general use, since kernels don't always reflect installed
  140. software, is the 'versions' command.  'versions' with no arguments
  141. lists all the installed software subsystems.
  142.  
  143. IRIX 5.2's System Manager ('chost') has the IRIX version number under
  144. "IRIX Version" and a listing of installed software under "Software"
  145. (the "Show Installed" button).
  146.  
  147. ------------------------------
  148.  
  149. Subject:    -2- How can I determine my SGI's Ethernet (and/or FDDI)
  150.                 address?
  151. Date: 07 Feb 94 00:00:01 CST
  152.  
  153. Many thanks to Miguel Sanchez <miguel@oasis.csd.sgi.com> for providing
  154. the original version of the following discussion, and to Dave Olson
  155. <olson@sgi.com> for comments. Andrew Cherenson
  156. <arc@sgi.com> reminded us that all these methods except
  157. the first apply to FDDI as well, but we'll just say "Ethernet" below.
  158.  
  159. Every system on an Ethernet network must have a unique Ethernet address
  160. for the network to operate properly. The physical Ethernet address of
  161. your system is the unique number assigned to the Ethernet hardware on
  162. your system. This unique number is assigned to the manufacturer of your
  163. Ethernet hardware by the IEEE (formerly by Xerox, one of the original
  164. developers of Ethernet). This is not to be confused with the IP
  165. address, which can be set arbitrarily.
  166.  
  167. You may need to determine your system's Ethernet address if your
  168. network manager requires it before connecting your system to a
  169. network.  How to do so depends on whether IRIX is running and what
  170. operating system version is loaded.  Method 1 only provides the
  171. Ethernet address of the primary interface.  If you have multiple
  172. Ethernet interfaces (boards) in a system, use method 2, 3, 4 or 5 to
  173. determine the address(es) of any other interface(s).
  174.  
  175. METHOD 1: eaddr
  176.  
  177.     If IRIX is not running, and the system is a Personal IRIS (4D20,
  178.     25, 30, or 35), Indigo, Crimson, Onyx or Challenge, you can obtain
  179.     the Ethernet address by typing 'eaddr' (older machines) or
  180.     'printenv eaddr' (newer) at the PROM monitor prompt.  On some
  181.     machines (4D30 or later) you can say 'nvram eaddr' while IRIX is
  182.     running to get the same result.
  183.  
  184. METHOD 2: netstat
  185.  
  186.     Under IRIX 4.0.1 or later, you can use the netstat command. For
  187.     example,
  188.  
  189.     % /usr/etc/netstat -ia
  190.     Name  Mtu    Network   Address            Ipkts   Ierrs   Opkts  Oerrs  Coll
  191.     ec0   1500   siligrph  luey7              7765678 21648  384477     0  30338
  192.                 192.48.200.251
  193.                 192.0.0.1
  194.                 08:00:69:06:17:c2
  195.     lo0   32880  loopback localhost           41438       0   41438     0      0
  196.                 192.0.0.1
  197.  
  198.     As seen on the fourth address line, the address of the system
  199.     luey7's primary Ethernet interface, "ec0", is 08:00:69:06:17:c2.
  200.  
  201. METHOD 3: arp
  202.  
  203.     You can obtain the Ethernet address of a Silicon Graphics system by
  204.     using another system on your network. 'ping' the system whose
  205.     Ethernet address you want, then use 'arp'. For example,
  206.  
  207.     % /usr/etc/ping -c 1 luey6
  208.     PING luey6.sgi.com (192.48.200.250): 56 data bytes
  209.     64 bytes from 192.48.200.250: icmp_seq=0 ttl=255 time=0 ms
  210.     ----luey6.sgi.com PING Statistics----
  211.     3 packets transmitted, 3 packets received, 0% packet loss
  212.     round-trip (ms)  min/avg/max = 0/0/0
  213.     % /usr/etc/arp luey6
  214.     luey6 (192.48.200.250) at 8:0:69:6:c:40
  215.     %
  216.  
  217. METHOD 4: NetVizualyzer/FDDIVizualyzer and the like
  218.  
  219.     SGI's NetVizualyzer/FDDIVizualyzer network monitoring software and
  220.     at least one public domain equivalent ('netman', at
  221.     ftp.cs.curtin.edu.au:/pub/netman/) allow you to find the Ethernet
  222.     address corresponding to any IP address. Read the manual.
  223.  
  224. METHOD 5: System Manager
  225.  
  226.     The Network Setup part ('cnet') of IRIX 5.2's System Manager tool
  227.     ('chost') shows the Ethernet address of each interface.
  228.  
  229. 4DDN: A Special Case
  230.  
  231.     DECnet uses a one-to-one relationship between the DECnet node ID
  232.     and the Ethernet address. If the DECnet address is changed the
  233.     Ethernet address is changed. DECnet Ethernet addresses always start
  234.     with aa:, so you can identify systems running DECnet with 'arp -a'.
  235.  
  236.     4DDN is Silicon Graphics' DECnet interconnection product. The
  237.     Ethernet address of an IRIS running 4DDN will change when 4DDN is
  238.     started.  Method 1 will return the original Ethernet address for
  239.     the system.  Methods 2-5 will show the Ethernet address currently
  240.     in use.
  241.  
  242. sysinfo
  243.  
  244.     /etc/sysinfo is intended to return a unique identifier, which on
  245.     some machines includes part or all of the Ethernet address. This is
  246.     best regarded as an amusing coincidence, like HAL's name in "2001".
  247.     Don't rely on it.
  248.  
  249. ------------------------------
  250.  
  251. Subject:    -3- How can I administer my Iris without a graphics
  252.                 terminal?
  253. Date: 12 Feb 94 00:00:01 EST
  254.  
  255. SGI's visual admin tools ('vadmin' in IRIX 4.0.x and 'chost' in IRIX
  256. 5.x) need GL. They do not work on X terminals or workstations without
  257. GL, and will not in the near future. Under IRIX 4.0.x you can use
  258. 'sysadm' on text terminals for some tasks, but beware of bugs and
  259. inadequacies: SGI judged 'sysadm' to be too buggy to be worth updating
  260. for IRIX 5.x.
  261.  
  262. Of course, you can always use a text editor and write scripts, or see
  263. the next question.
  264.  
  265. ------------------------------
  266.  
  267. Subject:    -4- Is it possible to use the visual admin tools on a system
  268.                 with graphics to administer a system without graphics?
  269. Date: 12 Feb 94 00:00:01 CST
  270.  
  271. Yes: just rlogin to the graphics-less system and run 'vadmin' (IRIX
  272. 4.0.x) or 'chost' (IRIX 5.x).  Make sure that the DISPLAY environment
  273. variable is set correctly and that both the vadmin/sysadmdesktop and
  274. the shared library subsystems are installed on the graphics-less system
  275. (which they are in the default installation).
  276.  
  277. Under IRIX 5.x, look at the READMEs in /var/sysadmdesktop/rsysmanapps
  278. and /var/sysadmdesktop/sysmanapps to find out how to use 'chost' to run
  279. commands on remote systems. Finally, in a future release of IRIX 5.x,
  280. the sysadmdesktop tools will be able to manage remote systems *without*
  281. doing an rlogin.
  282.  
  283. ------------------------------
  284.  
  285. Subject:    -5- How can I boot directly into single-user mode?
  286. Date: 20 Feb 94 00:00:01 EST
  287.  
  288. Use the PROM monitor's 'single' command.
  289.  
  290. For machines earlier than 4D35s, whose PROMs don't have that command,
  291. say 'boot dksc(0,1,0)unix initstate=s'. Replace 'dksc(0,1,0)' with the
  292. appropriate device and partition if your boot volume is something other
  293. than a SCSI device partitioned in the standard manner; see the chapter
  294. on the PROM monitor in the "Advanced Site and Server Administration
  295. Guide".
  296.  
  297. ------------------------------
  298.  
  299. Subject:    -6- How can I boot from a non-default disk?
  300. Date: 20 Jan 94 00:00:01 CST
  301.  
  302. Says Justin Mason <jmason@iona.ie>: If your disk is SCSI ID 4, do
  303.  
  304.   boot -f dksc(0,4,8)sash dksc(0,4,0)unix root=dks0d4s0
  305.  
  306. or
  307.  
  308.   setenv bootfile dksc(0,4,8)sash
  309.   setenv path dksc(0,4,8)
  310.   setenv root dks0d4s0            # This is the tricky part 
  311.   auto
  312.  
  313. from the PROM. The first method works once, so that subsequent reboots
  314. use SCSI ID 1, and the second method sets the PROM to boot from ID 4
  315. every time (until you reset the PROM variables).
  316.  
  317. ------------------------------
  318.  
  319. Subject:    -7- How can I boot my machine using a server on the other
  320.                 side of a router?
  321. Date: 24 Jan 94 00:00:01 EST
  322.  
  323. Tell the router to forward BOOTP packets. If it can't, NFS-mount the
  324. remote volumes on another machine on the same subnet and use the nearby
  325. machine for your boot server.
  326.  
  327. ------------------------------
  328.  
  329. Subject:    -8- Is it possible to remotely install IRIX over a network?
  330. Date: 20 May 93 00:00:01 CST
  331.  
  332. Yes. You can install IRIX from a remote machine which has a CD-ROM, a
  333. tape drive, or an IRIX distribution directory.  All of these scenarios
  334. (and several others) are described in detail in the "IRIS Software
  335. Installation Guide".  Examples are provided.
  336.  
  337. ------------------------------
  338.  
  339. Subject:    -9- Which IRIX CD is the program 'foo' on?
  340. Date: 10 Dec 93 00:00:01 EST
  341.  
  342. Load the CD and try 'grep foo /CDROM/dist/*.idb'. If you don't get any
  343. output, 'foo' isn't on that CD. If you do, it is, and one of the fields
  344. is the subsystem in which 'foo' lives.
  345.  
  346. ------------------------------
  347.  
  348. Subject:   -10- Why doesn't 'inst' work?
  349. Date: 16 Jan 94 00:00:01 EST
  350.  
  351. One possibility is that you're using an old 'inst' with new software.
  352. Always use an 'inst' at least as new as what you're installing.
  353.  
  354. ------------------------------
  355.  
  356. Subject:   -11- How can I install IRIX onto a second disk which I can
  357.                 then move to another machine?
  358. Date: 20 Jan 94 00:00:01 EST
  359.  
  360. With difficulty. Many parts of the installation process assume that
  361. you're installing IRIX onto your system disk (SCSI ID 1). Just fiddle
  362. with SCSI ID switches and/or move disks around to make the disk onto
  363. which you want to install IRIX the system disk for the duration of the
  364. installation.
  365.  
  366. Furthermore, IRIX has many hardware dependencies, so you should only
  367. move system disks between absolutely identical machines. If you want to
  368. make a system disk for a machine without a network connection, CD-ROM
  369. or tape drive, the easiest and safest way is to borrow another CD-ROM
  370. or tape drive.
  371.  
  372. If you want to try anyway, Justin Mason <jmason@iona.ie> reports that
  373. the following works under IRIX 5.1.1:
  374.  
  375. Set up the disk, e.g. with SCSI id 4, fx a generic "[bo]otable"
  376. partition setup onto it, and mkfs the partitions. Copy sash, etc. from
  377. your system disk to the new disk with dvhtool. Boot up the miniroot
  378. as usual, go into inst, choose "admin" from the menu and do the
  379. following, replacing SCSI IDs and partition numbers as appropriate:
  380.  
  381.   umount /root
  382.   umount /root/usr
  383.   mount /dev/dsk/dks0d4s0 /root
  384.   mount /dev/dsk/dks0d4s6 /root/usr
  385.   mount                    # Just to check
  386.   return                # Go back to main inst menu
  387.  
  388. Then install as you like.
  389.  
  390. ------------------------------
  391.  
  392. Subject:   -12- How can I copy my system disk onto a second disk which I
  393.                 can then move to another machine?
  394. Date: 20 Feb 94 00:00:01 EST
  395.  
  396. See the article in the Jul/Aug 92 Pipeline and the addendum in the
  397. Nov/Dec 92 Pipeline, and note that the warning about hardware
  398. dependencies in the previous question applies here too.
  399.  
  400. ------------------------------
  401.  
  402. Subject:   -13- I think I've found a security hole in IRIX; whom do I
  403.                 notify at SGI?
  404. Date: 10 Dec 93 00:00:01 CST
  405.  
  406. In general, if you find a security problem (or think you have), you can
  407. send it to postmaster@sgi.com. This address gets a lot of mail, so you
  408. may want to CC your mail to one of the SGI employees who regularly post
  409. to Usenet. (Several have indicated that they will be glad to know about
  410. such things.)
  411.  
  412. You can also notify CERT <cert@cert.org>, who will contact the
  413. appropriate people from their contact list. They may take some time.
  414.  
  415. ------------------------------
  416.  
  417. Subject: ! -14- What security problems does IRIX have?
  418. Date: 05 Apr 94 00:00:01 EST
  419.  
  420. Before we start, some general comments:
  421.  
  422. - IRIX is too complex for this list to be complete. We only discuss
  423.   problems we know about. We don't discuss insecurely designed systems
  424.   (like YP) or ways in which you might misconfigure your system, only
  425.   bugs.  We don't discuss third-party software, free or not.
  426.  
  427. - Read rtfm.mit.edu:/pub/usenet/news.answers/security-faq and the books
  428.   and papers listed therein for general discussions of Unix security.
  429.   Look on ftp.cert.org:/ for CERT advisories, descriptions of what CERT
  430.   and CERT advisories are, and other security-related material.
  431.  
  432. - Prudence and space permit us to describe only how to close holes, not
  433.   to exploit them. Try comp.security.unix.
  434.  
  435. - Some of the fixes involve installing a new version of a setuid
  436.   binary.  Be sure that you 1) make it executable, setuid and owned by
  437.   the correct user and group (or it won't work), and 2) remove the old
  438.   version so bad guys can't use it!
  439.  
  440. Now for the holes themselves:
  441.  
  442. - CERT advisory CA-92:08, which you can get from
  443.  
  444.     ftp.cert.org:/pub/cert_advisories/CA-92:08.SGI.lp.vulnerability
  445.  
  446.   describes problems with the permissions of 'lp'-related parts of IRIX
  447.   which allow anyone who can log in as lp to get root access. They are
  448.   fixed in IRIX 4.0.5.  Briefly, the fix is
  449.  
  450.     su root
  451.     cd /usr/lib
  452.     chmod a-s,go-w lpshut lpmove accept reject lpadmin
  453.     chmod go-ws lpsched vadmin/serial_ports vadmin/users vadmin/disks
  454.     cd /usr/bin
  455.     chmod a-s,go-w disable enable
  456.     chmod go-ws cancel lp lpstat
  457.  
  458. - CERT advisory CA-93:16, which you can get from
  459.  
  460.     ftp.cert.org:/pub/cert_advisories/CA-93:16.sendmail.vulnerability
  461.  
  462.   describes a hole in /usr/lib/sendmail which allows anyone root
  463.   access, whether they can log in initially or not!  Fixed versions for
  464.   IRIX 4.0.x and 5.x are at
  465.  
  466.     ftp.sgi.com:/sgi/IRIX4.0/sendmail/
  467.     ftp.sgi.com:/sgi/IRIX5.0/sendmail/
  468.  
  469. - CERT advisory CA-93:17, which you can get from
  470.  
  471.     ftp.cert.org:/pub/cert_advisories/CA-93:17.xterm.logging.vulnerability
  472.  
  473.   describes a hole in /usr/bin/X11/xterm which allows any user root
  474.   access. It is fixed in IRIX 5.x.  A fixed version for IRIX 4.x is at
  475.  
  476.     ftp.sgi.com:/sgi/IRIX4.0/xterm/
  477.  
  478.   The 'fix', incidentally, is that logging is completely disabled.
  479.  
  480. - /usr/bsd/rdist has several holes which allow any user root access.
  481.   Some are fixed in IRIX 4.0.5x, but some are still present in all
  482.   versions of IRIX 4.0.x and 5.x, including the 4.0.5 version on
  483.   ftp.sgi.com. Close the hole with 'chmod -s'. rdist will then work
  484.   only when used by root.
  485.  
  486.   If your non-root users need 'rdist', there is a free version which
  487.   claims to be free of all known holes in usc.edu:/pub/rdist/.  Make
  488.   sure you get version 6.1 beta 3 or later.
  489.  
  490.   Note that CERT advisory CA-91:20
  491.   (ftp.cert.org:/pub/cert_advisories/CA-91:20.rdist.vulnerability) is
  492.   badly out of date.
  493.  
  494. - The 'lpr' subsystem in IRIX 4.0.x and 5.x has several holes which
  495.   allow a non-root user to become root. Use 'lp' instead if you
  496.   can. If you don't need 'lpr', make sure it isn't installed. (It
  497.   lives in the eoe2.sw.lpr subsystem.) If you do need 'lpr', try the
  498.   patched version of the Net/2 BSD lpr at
  499.   ftp.umbc.edu:/pub/sgi/patched-lpr.tar.Z. The '-s' (symbolic link)
  500.   option is disabled to avoid one of the security holes.
  501.  
  502. - /usr/bin/under is an unused (!) part of 'rexd'. It is setuid root and
  503.   may allow root access, so 'chmod -s' it just in case. Note that SGI
  504.   ships IRIX with 'rexd' turned off because 'rexd' is itself a security
  505.   problem.
  506.  
  507. - /usr/etc/arp is setgid sys, allowing anyone who can log into your
  508.   machine to read files which should be readable only by group 'sys'.
  509.   Close the hole with 'chmod -s'. This prevents non-root users from
  510.   using 'arp' at all, but they don't generally need it.
  511.  
  512. - /usr/sbin/cdinstmgr is setuid root and is a script. Setuid scripts
  513.   are a well-known Unix security problem. IRIX ignores them by default,
  514.   but 'chmod -s /usr/sbin/cdinstmgr' just in case.
  515.  
  516. Finally, several aspects of SGI's default IRIX configuration were
  517. chosen for convenience, not security. Unless your machine is not
  518. networked, you may be more concerned about security than SGI assumed.
  519. Note that these items have been discussed on Usenet many times, and
  520. Usenet chatter is not a good way to change SGI policy. If they bother
  521. you, talk to your sales rep or just fix them yourself as follows:
  522.  
  523. - Several accounts come without passwords, including (but not limited
  524.   to) guest, 4Dgifts, demos, tutor, tour and particularly lp. Examine
  525.   /etc/passwd and lock all unnecessarily open accounts.  Note that 1)
  526.   parts of IRIX (e.g. 'inst') use the open guest account by default,
  527.   and 2) remote 'lp' clients need access to the lp account to print, so
  528.   you'll need to make other arrangements.
  529.  
  530. - 'xdm' does 'xhost +' by default when you log in. This allows anyone
  531.   to open windows on your display and even to record what you type at
  532.   your keyboard. Close this hole by removing the 'xhost +' from
  533.   /usr/lib/X11/xdm/Xsession and /usr/lib/X11/xdm/Xsession-remote. Note
  534.   that the Xauthority mechanism has several different problems in IRIX
  535.   4.0.x, so you'll need to say 'xhost +localhost' to run DGL programs
  536.   and 'xhost +otherhost' to display remote X programs.
  537.  
  538. - At least some of the possible default values of the PATH environment
  539.   variable begin with the current directory. (The system interprets
  540.   either a period or the empty string in any component of PATH as the
  541.   current directory. PATH is colon-separated, so if it begins with a
  542.   colon the first component is the empty string.) This exposes you to
  543.   Trojan horse programs. Set PATH to a safe value (remove the current
  544.   directory, or at least move it to the end) in /etc/cshrc and/or
  545.   /etc/profile.
  546.  
  547. ------------------------------
  548.  
  549. Subject:   -15- How can I log more information about logins?
  550. Date: 22 Jan 94 00:00:01 EST
  551.  
  552. - 'last', 'who', etc. get remote login information from /etc/xutmp and
  553.   /etc/xwtmp. That information is only logged into these files if they
  554.   already exist. To create them, just say 'touch /etc/xutmp
  555.   /etc/xwtmp'. In IRIX 5.x, 'touch /var/adm/utmpx /var/adm/wtmpx'.
  556.  
  557. - As described in the login(1) manpage, you can add the line
  558.   'syslog=all' to /etc/config/login.options to log all login attempts,
  559.   not just successful ones, in /usr/adm/SYSLOG.
  560.  
  561. - 'ftpd', 'rshd' and 'tftpd' all have options ('-l' or '-L') which
  562.   cause them to log all accesses. See their manpages. 'ftpd' also has
  563.   '-ll' and '-lll' options (undocumented before IRIX 5.x) which log
  564.   individual file transfers and the sizes of those files respectively.
  565.   Add the options to the last fields (not the second-to-last) of the
  566.   appropriate lines of /usr/etc/inetd.conf (/etc/inetd.conf in IRIX
  567.   5.x), then do 'killall -HUP inetd' or reboot.
  568.  
  569. ------------------------------
  570.  
  571. Subject:   -16- I've just edited inetd.conf, and nothing changed. Why?
  572. Date: 10 Dec 93 00:00:01 CST
  573.  
  574. You need to make 'inetd' reread the file. Do 'killall -HUP inetd' or
  575. reboot.
  576.  
  577. ------------------------------
  578.  
  579. Subject:   -17- How do I make an anonymous or restricted FTP account?
  580. Date: 10 Dec 93 00:00:01 EST
  581.  
  582. Read the ftpd(1M) manpage. Be especially sure that the home directory
  583. (/usr/people/ftp) is owned and writable only by root, NOT ftp.
  584.  
  585. ------------------------------
  586.  
  587. Subject:   -18- How do I set the number of processes allowed on my
  588.                 machine?
  589. Date: 23 Jan 94 00:00:01 CST
  590.  
  591. Change NPROC in usr/sysgen/master.d/kernel, run '/etc/autoconfig -f'
  592. and reboot. In IRIX 5.x, use 'systune'.
  593.  
  594. ------------------------------
  595.  
  596. Subject:   -19- I want to install a termcap for 'iris-ansi-net' on my
  597.                 non-SGI system, but I can't find a termcap file on the
  598.                 SGI.  Where can I get one?
  599. Date: 20 May 93 00:00:01 CST
  600.  
  601. SGIs use the system 5 style terminfo stuff.  What you want can be done
  602. though.  See the infocmp(1) manpage and the documentation about -r.
  603. This should do the job: 'infocmp -Cr iris-ansi'.
  604.  
  605. If you don't have infocmp, you have to install eoe2.sw.terminf, which
  606. is not installed by default.
  607.  
  608. ------------------------------
  609.  
  610. Subject:   -20- My SGI crashed and generated a file,
  611.                 /usr/adm/crash/vmcore.1. How can I examine this file to
  612.                 see what crashed my system?
  613. Date: 10 Dec 93 00:00:01 EST
  614.  
  615. For a start, you can use 'dbx' like so:
  616.  
  617.   dbx -k /usr/adm/crash/{unix,vmcore}.#
  618.   t
  619.   &putbuf/1000s
  620.  
  621. Some machines have a special 'dbx' for crash dumps,
  622. /usr/adm/crash/dbx.  If it exists, use it instead of /usr/bin/dbx.
  623.  
  624. There is also a script, 'crpt', which does this and more
  625. automagically.  One version lives at
  626. viz.tamu.edu:/pub/sgi/software/crpt/, but ask the TAC when you call to
  627. make sure you have the latest and greatest.
  628.  
  629. ------------------------------
  630.  
  631. Subject:   -21- How can I tell what hostname to use in /etc/exports?
  632. Date: 07 Feb 94 00:00:01 EST
  633.  
  634. NFS servers may need a particular form of a client's name in
  635. /etc/exports to allow the client access. This may not be obvious, for
  636. example if the server is also a router. Log in from the client to the
  637. server and say 'echo $REMOTEHOST' to see what the server thinks the
  638. client is called, and put that in /etc/exports.
  639.  
  640. IRIX 5.2's System Manager ('chost') should be able to determine the
  641. correct hostname for you.
  642.  
  643. ------------------------------
  644.  
  645. Subject:   -22- Why can't I export an NFS-mounted filesystem?
  646. Date: 10 Dec 93 00:00:01 CST
  647.  
  648. This is known as multi-hop NFS. It is not allowed or supported in
  649. (Sun's) NFS because it is not in general possible to detect errors such
  650. as infinite mount loops, on either the client or the server.
  651.  
  652. ------------------------------
  653.  
  654. Subject:   -23- Why can't Ultrix automount SGI filesystems?
  655. Date: 10 Dec 93 00:00:01 CST
  656.  
  657. Ultrix's automount uses an "untrusted" port for mount requests. Add
  658. an '-n' to the mountd lines in /usr/etc/inetd.conf (/etc/inetd.conf
  659. in IRIX 5.x), like so:
  660.  
  661. mountd/1    stream  rpc/tcp wait    root    /usr/etc/rpc.mountd     mountd -n
  662. mountd/1    dgram   rpc/udp wait    root    /usr/etc/rpc.mountd     mountd -n
  663.  
  664. then 'killall mountd' and 'killall -HUP inetd' or reboot.
  665.  
  666. ------------------------------
  667.  
  668. Subject: + -24- Why does 'tar' work strangely on a filesystem mounted
  669.                 from an SGI?
  670. Date: 03 Apr 94 00:00:01 EST
  671.  
  672. When user A extracts a file owned by user B from a tar archive, 'tar'
  673. makes the file owned by user A unless user A is the superuser.  Some
  674. systems allow users to give files away (e.g. IRIX); some do not (e.g.
  675. SunOS).  On some systems with the restricted behavior (SunOS among
  676. them), 'tar' tries to give the file to user B whether or not user A is
  677. the superuser, assuming that the chown system call will fail if user A
  678. is not. This is not true if user A is using 'tar' on (e.g.) a Sun to
  679. extract files onto a filesystem NFS-mounted from (e.g.) an SGI. 'tar'
  680. may create zero-length files or give away directories and then be
  681. unable to extract files into them.
  682.  
  683. Work around the problem by doing the 'tar' on the SGI or extracting
  684. onto a Sun filesystem. It is possible that third-party versions of
  685. 'tar' (e.g. GNU tar) are smarter; let us know if so. Don't turn the
  686. restricted_chown kernel variable on on the SGI; while this will fix the
  687. problem at hand, it will break SGI programs which need to give files
  688. away without running as root (notably /bin/mail).
  689.  
  690. ------------------------------
  691.  
  692. Subject:   -25- Is 'pcnfsd' available for the SGI?
  693. Date: 27 Feb 94 00:00:01 EST
  694.  
  695. For IRIX 4.0.x, look in ftp.sgi.com:/support/pcnfsd.sysV/. (Note that
  696. although SGI makes this available, they do not support it.) For IRIX 5.x,
  697. look in viz.tamu.edu:/pub/sgi/software/pcnfsd/.
  698.  
  699. ------------------------------
  700.  
  701. Subject:   -26- Can I export a CD-ROM from my SGI to a non-SGI?
  702. Date: 10 Dec 93 00:00:01 EST
  703.  
  704. Not in IRIX 4.0.x. You can in IRIX 5.x, as you would any other
  705. filesystem.
  706.  
  707. ------------------------------
  708.  
  709. Subject:   -27- Why can't I export an ISO 9660 CD-ROM using NFS?
  710. Date: 20 Feb 94 00:00:01 EST
  711.  
  712. You can, but only to another SGI (see the previous question) and
  713. there's a catch. Add the CD-ROM filesystem to /etc/exports and export
  714. it with 'exportfs' *before* you mount the CD-ROM.  This chicanery is
  715. not necessary in IRIX 5.x. For more detail, read
  716. viz.tamu.edu:/pub/sgi/hardware/exporting-iso-9660-cdrom or the article
  717. in the Jan/Feb 93 Pipeline, or for an up-to-date copy call the TAC and
  718. ask for SGI's writeup on "Mounting an ISO 9660 CD Across NFS".
  719.  
  720. ------------------------------
  721.  
  722. Subject:   -28- How can I read an IRIX (EFS) CD-ROM on a machine which
  723.                 doesn't use EFS?
  724. Date: 09 Jan 94 00:00:01 EST
  725.  
  726. You want 'efslook', in viz.tamu.edu:/pub/sgi/software/efslook/.
  727.  
  728. ------------------------------
  729.  
  730. Subject:   -29- Why is my network license daemon ('netlsd') exiting?
  731. Date: 20 May 93 00:00:01 CST
  732.  
  733. For netlsd to run, you need to have 'llbd' and 'glbd' installed and
  734. running.  A complete debugging procedure is in the netls release notes,
  735. which can be read with 'relnotes netls_eoe 5'.
  736.  
  737. ------------------------------
  738.  
  739. Subject:   -30- Why isn't /usr/adm/SYSLOG being updated?
  740. Date: 05 Jul 93 00:00:01 CST
  741.  
  742. Thanks to Vernon Schryver <vjs@rhyolite.wpd.sgi.com> here.
  743.  
  744. Popular causes include:
  745.  
  746. - running out of disk space.
  747.   Once syslogd is unable to write to /usr/adm/SYSLOG, it won't try
  748.   again until it is `killall -HUP syslogd`.
  749.  
  750. - installing IRIX 4.0.X and failing to heed the nagging from
  751.   the system when it is rebooted to run 'versions changed' and combine
  752.   new and old configuration files.  In this case, the trouble is in
  753.   /usr/spool/cron/crontabs/root.
  754.  
  755. ------------------------------
  756.  
  757. Subject:   -31- Why is 'rusers' showing users who aren't really logged
  758.                 in?
  759. Date: 30 Dec 93 00:00:01 CST
  760.  
  761. This is a well-known bug in IRIX 4.0.X wherein /etc/utmp is not being
  762. updated properly after a user logout.  'rusers' (and other programs)
  763. are simply reporting the non-updated contents of /etc/utmp.
  764.  
  765. Fixes have been provided by jer@blaise.cif.rochester.edu, David Hinds
  766. <dhinds@allegro.stanford.edu> and Patrick M. Ryan <pat@gsfc.nasa.gov>.
  767. They can be found at viz.tamu.edu:/pub/sgi/software/utmp/.
  768.  
  769. ------------------------------
  770.  
  771. Subject:   -32- How do I make a bootable tape from an IRIX 4.0.X CD?
  772. Date: 20 Feb 94 00:00:01 EST
  773.  
  774. See the Sep/Oct 93 Pipeline for a detailed description, or just follow
  775. Dave Olson <olson@sgi.com>'s summary: Take a look at the distcp(1M)
  776. manpage, and do something like
  777.  
  778.     tapehost# mount -o ro cdhost:/CDROM /mnt
  779.     tapehost# distcp /mnt/dist /dev/nrtape
  780.  
  781. Note that 'fx', 'ide', and 'sash' for all machines are in the dist/sa
  782. file.  'sa' is an image of the first part of the tape; use 'mkbootape
  783. -f sa -l' to see the contents.
  784.  
  785. ------------------------------
  786.  
  787. Subject: ! -33- Why can't I boot one of the stand-alone programs on a
  788.                 tape or CD?
  789. Date: 03 Apr 94 00:00:01 EST
  790.  
  791. One reason is that some CPU names are preceded by periods and some
  792. aren't. Another is that the Indigo R4000 and later CPUs use the suffix
  793. 'ARCS', not 'IP20' or whatever as one might expect from 'hinv'. For
  794. example, the correct command to boot fx directly from the PROM monitor
  795. on an Indigo R4000 is 'boot -f dksc(ctlr,unit,8)sashARCS
  796. dksc(ctlr,unit,7)stand/fx.ARCS'. Note the use of 'ARCS' instead of
  797. 'IP20' and the missing period in 'sashARCS'.
  798.  
  799. ------------------------------
  800.  
  801. Subject:   -34- Why is /debug or /proc full of huge files?
  802. Date: 10 Dec 93 00:00:01 EST
  803.  
  804. Those aren't disk files, they're interfaces to running processes.  Read
  805. the debug(4) and/or proc(4) manpages.
  806.  
  807. ------------------------------
  808.  
  809. Subject:   -35- Why do some programs parse /etc/fstab incorrectly?
  810. Date: 10 Dec 93 00:00:01 EST
  811.  
  812. In IRIX 4.0.5, some programs (e.g. 'fsr') misinterpret lines in
  813. /etc/fstab, so that, e.g.,
  814.  
  815.   /dev/usr /usr efs rw,raw=/dev/rusr,quota 0 0
  816.  
  817. would cause 'fsr' to think that the raw device pathname was
  818. "/dev/rusr,quota" instead of "/dev/rusr". There is no such device, so
  819. /dev/rusr would never be defragmented. You can work around this by
  820. putting the "raw" option last:
  821.  
  822.   /dev/usr /usr efs rw,quota,raw=/dev/rusr 0 0
  823.  
  824. This is fixed in IRIX 5.x.
  825.  
  826. ------------------------------
  827.  
  828. Subject:   -36- My Indigo's Ethernet performance is dog-slow. What
  829.                 gives?
  830. Date: 10 Dec 93 00:00:01 EST
  831.  
  832. Call the TAC. You need the "E++" patch, or IRIX 4.0.5IOP ("Indigo Only
  833. Patch"), which includes the E++ patch.
  834.  
  835. ------------------------------
  836.  
  837. Subject:   -37- My Indigo running 4.0.5IOP is getting SIGSEGVs and
  838.                 crashing. What gives?
  839. Date: 12 Jan 94 00:00:01 EST
  840.  
  841. Make sure you've installed the 4.0.5IOP NFS maintenance patch along
  842. with the rest of 4.0.5IOP. If you're sure you have, call the TAC.
  843. You may need the "IP20 ethernet patch".  This comes *after* 4.0.5IOP,
  844. and is not to be confused with the older "E++ patch" (see the previous
  845. question).
  846.  
  847. ------------------------------
  848.  
  849. Subject:   -38- Why is my Indigo2 panicking?
  850. Date: 10 Jan 94 00:00:01 EST
  851.  
  852. There are several keyboard-related bugs in IRIX 4.0.5H and 4.0.5IOP
  853. which cause Indigo2s to crash or freeze. One sign that these particular
  854. bugs are responsible is the message "PANIC: Timeout Table Overflow" or
  855. "WARNING: Couldn't allocate streams buffer" in /usr/adm/SYSLOG.  They
  856. will be fixed in IRIX 5.2, and in the meantime you can get the "Indigo2
  857. keyboard patch" (aka "pckm patch") from SGI.
  858.  
  859. ------------------------------
  860.  
  861. Subject:   -39- What's this 'iotim' error in my syslog?
  862. Date: 12 Feb 94 00:00:01 EST
  863.  
  864. It's a bug in 'rpc.rstatd' which affects several programs including
  865. 'ruptime' and 'sysmeter'. In IRIX 4.0.5H and later, 'rpc.rstatd'
  866. ignores the problem (returning all but the SCSI disk stats which cause
  867. the error) but still generates a message.  The problem is completely
  868. fixed in IRIX 5.x.  The pre-4.0.5H 'rpc.rstatd' says
  869.  
  870.   rstatd[4840]: read: iotim: No such device or address
  871.  
  872. and the post-4.0.5H 'rpc.rstatd' says
  873.  
  874.   rstatd[4941]: read: bad iotim, no disk stats: No such device or address
  875.  
  876. If you see the former, get the patched 'rpc.rstatd' from
  877. ftp.sgi.com:/support/rpc.rstatd or (for Indigos) upgrade to IRIX
  878. 4.0.5IOP. If you see the latter, relax and wait for IRIX 5.x.
  879.  
  880. ------------------------------
  881.  
  882. Subject:   -40- Why can't 'lp' read my file?
  883. Date: 10 Dec 93 00:00:01 EST
  884.  
  885. 'lp' is setuid, so it can only read world-readable files. You can say
  886. 'lp < file' if you don't want to make your file world-readable.
  887.  
  888. ------------------------------
  889.  
  890. Subject:   -41- How can I use 'lpr' to print to my local printer?
  891. Date: 10 Dec 93 00:00:01 EST
  892.  
  893. SGI provides 'lpr' for printing on remote printers, and does not
  894. support it for local printing. One way to do it anyhow is to make an
  895. /etc/printcap entry with an output filter which is just a wrapper
  896. around 'lp'. If that isn't crystal-clear, call the TAC and ask for
  897. their "faxable" on "Integrating The AT&T Spooler With The BSD LPR Print
  898. Spooler". A not-guaranteed-to-be-up-to-date copy is at
  899. viz.tamu.edu:/pub/sgi/software/lp-lpr/lpr-to-lp.
  900.  
  901. ------------------------------
  902.  
  903. Subject:   -42- How can I use 'lp' to print to an 'lpr'-controlled
  904.                 printer?
  905. Date: 10 Dec 93 00:00:01 EST
  906.  
  907. Two possible ways:
  908.  
  909. - Write an 'lp' interface script that calls 'lpr'. Impressario 1.1 can
  910.   do this for you. If you don't have Impressario you can do it yourself
  911.   or call SGI and ask for their writeup, "LPTOLPR, A Model File for
  912.   LP", which includes (in fact, consists of) just such an interface
  913.   script. A not-guaranteed-to-be-up-to-date copy is at
  914.   viz.tamu.edu:/pub/sgi/software/lp-lpr/lp-to-lpr.
  915.  
  916. - Write an 'lp' replacement script that calls 'lpr'. One such script
  917.   is at viz.tamu.edu:/pub/sgi/software/lp-lpr/lp-wrapper-for-lpr.
  918.  
  919. ------------------------------
  920.  
  921. Subject:   -43- How can I tell 'lp' to turn banner printing or page
  922.                 reversal off or on?
  923. Date: 08 Jan 94 00:00:01 CST
  924.  
  925. 'lp' controls printers via shell scripts, called 'models', which live
  926. in /usr/spool/lp/model. When you install a printer, the appropriate
  927. model script is copied to /usr/spool/lp/interface/<name-of-printer>.
  928.  
  929. To temporarily change a printer's behavior, look at the manpage for its
  930. interface script (or, if there is none, the script itself) to see what
  931. options it wants, and pass them to the script with 'lp's '-o' option.
  932. For example, 'lp -o"-nobanner" file' tells a "Generic Postscript"
  933. printer (described in the gpsinterface(1) manpage) to print 'file'
  934. without a banner page.
  935.  
  936. To permanently change a printer's behavior, edit its interface script.
  937. The following are true for "Generic Postscript" printers, but the idea
  938. is the same for others:
  939.  
  940. - To turn banner printing off or on, change the line 'BANNER=1' to
  941.   'BANNER=0' or vice versa.
  942.  
  943. - To turn page reversal off or on, change the line
  944.   'send=/usr/lib/print/lptops' to 'send="/usr/lib/print/lptops -U"'
  945.   (note the quotes) or vice versa.
  946.  
  947. ------------------------------
  948.  
  949. Subject:   -44- Why can't I 'rdist' files between Suns and SGIs?
  950. Date: 10 Dec 93 00:00:01 EST
  951.  
  952. Sun's 'rdist' expects SGI's 'rdist' to live in /usr/ucb, but it's
  953. actually in /usr/bsd. Make a symbolic link from /usr/ucb/rdist to
  954. /usr/bsd/rdist and all will be well.
  955.  
  956. ------------------------------
  957.  
  958. Subject:   -45- How do I add a static route?
  959. Date: 10 Mar 94 00:00:01 EST
  960.  
  961. Some sites handle IP routing by designating a routing machine and
  962. having all other hosts define a static route to that machine. The way
  963. to do this on SGIs is in the /etc/init.d/network.local script.
  964.  
  965. 1) Read the paragraph just before the copyright at the top of
  966.    /etc/init.d/network and make the links it specifies.
  967.  
  968. 2) Put something like the following in /etc/init.d/network.local,
  969.    replacing ROUTER'S.IP.ADDRESS.HERE with the address of your router.
  970.  
  971.   #! /bin/sh
  972.   case "$1" in
  973.   'start')
  974.       /usr/etc/route add default ROUTER'S.IP.ADDRESS.HERE 1 ;;
  975.   'stop')
  976.       /usr/etc/route delete default ROUTER'S.IP.ADDRESS.HERE ;;
  977.   *)
  978.       echo "Usage: $0 {start|stop}" ;;
  979.   esac
  980.  
  981. If you NFS-mount disks from the other side of the static route, they
  982. will not be unmounted properly during shutdown. You can fix this by
  983. making the links so that /etc/init.d/network.local runs before
  984. /etc/init.d/network: 'ln -s /etc/init.d/network.local
  985. /etc/rc0.d/K41network' instead of '/etc/rc0.d/K39network'.
  986.  
  987. ------------------------------
  988.  
  989. Subject:   -46- How can I make the 'slip' command advertise the Ethernet
  990.                 address of the SLIP client?
  991. Date: 10 Dec 93 00:00:01 EST
  992.  
  993. You can't. Just add something like
  994.  
  995.   /usr/etc/arp -s $USER `netstat -ia | grep :` pub
  996.  
  997. to the shell script in which you start the SLIP process. $USER is the
  998. SLIP client. The 'netstat | grep' part gets the host's Ethernet
  999. address, and 'arp' advertises the host as an ARP server for $USER. See
  1000. also the arp(1M) manpage.
  1001.  
  1002. ------------------------------
  1003.  
  1004. Subject:   -47- How can I set up 'sendmail' to pass 8-bit characters?
  1005. Date: 12 Feb 94 00:00:01 EST
  1006.  
  1007. Dunno, offhand, but many experts say "don't try". RFC822 requires mail
  1008. transport agents to *clear* the eighth bit, and many hosts do. Some
  1009. which don't may crash when they get mail with the eighth bit set.
  1010. Instead, use a MIME-compatible mail program. MIME, described in
  1011. RFC1521, is a standard for enclosing non- RFC822 material in your
  1012. mail.  The apps FAQ discusses several mail programs which support it.
  1013.  
  1014. Nonetheless, if someone wants to tell us about putting SGI's 'sendmail'
  1015. into 8-bit mode we'll note it here.
  1016.  
  1017. ------------------------------
  1018.  
  1019. Subject:   -48- Why are my mailbox files changing ownership?
  1020. Date: 17 Jan 94 00:00:01 CST
  1021.  
  1022. If your mail directory is mounted from another machine, your machine
  1023. does not have root access, and the other machine has BSD-style
  1024. "restricted chown" (either because it's not an SGI or because someone
  1025. turned restricted chown on), /bin/mail will change mail file ownership
  1026. when delivering local mail. Without unrestricted chown or root access,
  1027. /bin/mail is unable to give mail files back to their owners after
  1028. delivering mail. You can fix the problem by turning off restricted
  1029. chown on the other machine (if it's an SGI), exporting the mail
  1030. directory with root access for your machine, or waiting for IRIX 5.2,
  1031. in which the problem will be fixed.
  1032.  
  1033. ------------------------------
  1034.  
  1035. Subject:   -49- Why isn't a valid user getting their mail?
  1036. Date: 24 Jan 94 00:00:01 EST
  1037.  
  1038. IRIX' mail system requires "valid users" to have both valid password
  1039. file entries (whether local or via NIS) and home directories. The
  1040. latter often trips one up when installing POP servers and whatnot,
  1041. where home directories aren't really necessary. Just make a fake one.
  1042.  
  1043. ------------------------------
  1044.  
  1045. Subject:   -50- How can SGIs and Suns share a mail spool?
  1046. Date: 05 Feb 94 00:00:01 EST
  1047.  
  1048. Paul Riddle <paulr@umbc.edu> has written up how he did it. Read
  1049. ftp.umbc.edu:/pub/sgi/shared-spool.text.
  1050.  
  1051. ------------------------------
  1052.  
  1053. Subject:   -51- What's an "unknown mailer error"?
  1054. Date: 20 Feb 94 00:00:01 EST
  1055.  
  1056. There's a list in viz.tamu.edu:/pub/sgi/software/mail/mail-errors.
  1057.  
  1058. ------------------------------
  1059.  
  1060. Subject:   -52- What's "mailbox: Error 0"?
  1061. Date: 05 Mar 94 00:00:01 EST
  1062.  
  1063. It's a harmless bug; don't worry about it. It is present in IRIX 4.0.x
  1064. before 4.0.5H/4.0.5IOP and fixed in those and later versions.
  1065.  
  1066. ------------------------------
  1067.  
  1068. Subject:   -53- Can I change my full name or login shell without being
  1069.                 superuser?
  1070. Date: 16 Mar 94 00:00:01 EST
  1071.  
  1072. Maybe. IRIX 4.x has no 'chfn' or 'chsh', so if you're a local user
  1073. you're stuck. However, if your account is on NIS (Yellow Pages) you can
  1074. use 'ypchpass'. You might also ask your superuser to install one of the
  1075. many free implementations of 'chfn' and/or 'chsh'; one is in volume 3 of
  1076. comp.sources.unix (ftp.uu.net:/usenet/comp.sources.unix/volume3/).
  1077.  
  1078. ------------------------------
  1079.  
  1080. Subject:   -54- How do I extend an existing filesystem onto a new disk?
  1081. Date: 24 Jan 94 00:00:01 EST
  1082.  
  1083. Back up the existing filesystem (just in case) then run 'mklv' and
  1084. 'growfs'. 'mklv' and 'growfs' are nondestructive, so you don't need to
  1085. restore the backup unless you screw up. Don't use 'mkfs', which does
  1086. destroy existing data.
  1087.  
  1088. ------------------------------
  1089.  
  1090. Subject:   -55- How can I measure my network's reliability?
  1091. Date: 13 Feb 94 00:00:01 EST
  1092.  
  1093. Don't worry about collisions. They are part of normal operation on a
  1094. crowded Ethernet. You *should* worry about late collisions (which are
  1095. logged to the console) and lost packets (which you can easily measure
  1096. with the command 'ping -fs 3000 -c 1000 someotherhost'), which usually
  1097. mean network hardware problems or a misconfigured bridge or router.
  1098.  
  1099. ------------------------------
  1100.  
  1101. Subject:   -56- How do I know if I need more memory and/or swap space?
  1102. Date: 20 Feb 94 00:00:01 EST
  1103.  
  1104. If processes are killed due to lack of memory/swap, you need more
  1105. memory and/or swap space. If your CPU is always waiting for swapping
  1106. (run 'osview' and look at the "%Swap" entry under "Wait Ratio") you
  1107. need more memory.
  1108.  
  1109. ------------------------------
  1110.  
  1111. Subject:   -57- How much swap space should I have per megabyte of
  1112.                 memory?
  1113. Date: 20 Feb 94 00:00:01 EST
  1114.  
  1115. An oft-recommended ratio is X memory:2.5 X swap, but this may be too
  1116. slow. Decide how much of your favorite program (plus IRIX) needs to be
  1117. resident for good performance and how much doesn't, and make sure you
  1118. have enough memory for the former and enough memory plus swap for the
  1119. latter. Put "rmem" and "swp" in your ~/.grosview file, run 'gr_osview'
  1120. and run your favorite program to see what it needs.
  1121.  
  1122. ------------------------------
  1123.  
  1124. Subject:   -58- How can I increase my swap space?
  1125. Date: 20 Feb 94 00:00:01 EST
  1126.  
  1127. See the Jan/Feb 93 Pipeline for a detailed writeup, or call the TAC and
  1128. have them fax you the very latest version. It will be much easier in
  1129. IRIX 5.x, which will support swapping to files.
  1130.  
  1131. ------------------------------
  1132.  
  1133. End of sgi/faq/admin Digest
  1134. ******************************
  1135. -- 
  1136. The SGI FAQ group                                sgi-faq@viz.tamu.edu
  1137. Finger us for info on the SGI FAQs, or look in viz.tamu.edu:/pub/sgi.
  1138.